<div class="tms-main-page-function">
    <div class="main-content">
        <div class="page-function">
            <ul class="wms-wbm-fun-left">
                <button class="layui-btn" ng-click="addWarehouseMaintenanceClick()">新增</button>
                <button class="layui-btn" ng-click="updateWarehouseMaintenanceClick()">编辑</button>
                <button class="layui-btn" ng-click="deleteWarehouseMaintenanceClick()">删除</button>
            </ul>
            <div class="wms-wbm-fun-right">
                <input type="text" placeholder="仓库名称-->回车查询"  ng-keydown="searchListKeyDown($event)" class="search-input" ng-model="search.whName"/>
                <button class="layui-btn" ng-click="searchClick()">搜索</button>
                <i class="iconfont icon-shuaxin layui-anim layui-anim-loop layui-anim-rotate wms-refresh" ng-click="refreshClick()" refresh></i>
            </div>
        </div>
        <div class="otherForm" ng-show="otherForm">
        </div>
        <div class="layui-form">
            <table class="layui-table wms_wbm_main_table serial minScreen warehouseTable">
                <tbody>
                    <tr>
                        <th>
                            <input type="checkbox" name="" lay-skin="primary" lay-filter="allChoose">
                            <div class="layui-unselect layui-form-checkbox" lay-skin="primary">
                                <i class="layui-icon"></i>
                            </div>
                        </th>
                        <th>仓库代码</th>
                        <th>仓库名称</th>
                        <th>类型</th>
                        <th>仓库属性</th>
                        <th>是否自动分配库位</th>
                        <th>地址</th>
                        <th>备注</th>
                    </tr>
                    <tr ng-repeat="warehouseMaintenance in warehouseMaintenanceList" ng-click="selectItemClick(warehouseMaintenance,$event)">
                        <td>
                            <input type="checkbox" name="ckValue" ng-value="$index" lay-skin="primary" />
                            <div class="layui-unselect layui-form-checkbox" lay-skin="primary">
                                <i class="layui-icon"></i>
                            </div>
                        </td>
                        <td ng-bind="warehouseMaintenance.whCode"></td>
                        <td ng-bind="warehouseMaintenance.whName"></td>
                        <td ng-bind="warehouseMaintenance.whType | warehouseTypeFilter"></td>
                        <td ng-bind="warehouseMaintenance.whStyle | warehouseAttrFilter"></td>
                        <td ng-bind="warehouseMaintenance.whIsAuto | warehouseAutoFilter"></td>
                        <td ng-bind="warehouseMaintenance.whAddress"></td>
                        <td ng-bind="warehouseMaintenance.whRemark"></td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="admin-table-page" style="text-align: center;">
            <div id="pages" class="page">
            </div>
        </div>
    </div>
    <div class="main-content" style="height:50%">
        <div style="height: 30px;width: auto;">装车道维护</div>
        <div class="page-function">
            <ul class="wms-wbm-fun-left">
                <button class="layui-btn" ng-click="addEstimateLaneClick()">新增</button>
                <button class="layui-btn" ng-click="deleteEstimateLaneClick()">删除</button>
            </ul>
        </div>
        <div class="layui-form">
            <table class="layui-table wms_wbm_main_table serial minScreen estimateLaneTable">
                <tbody>
                <tr>
                    <th>
                        <input type="checkbox" name="" lay-skin="primary" lay-filter="allChoose">
                        <div class="layui-unselect layui-form-checkbox" lay-skin="primary">
                            <i class="layui-icon"></i>
                        </div>
                    </th>
                    <th>装车道</th>
                    <th>车位数量</th>
                </tr>
                <tr ng-repeat="estimateLane in estimateLaneList" ng-click="Tools.initTableClick($event)">
                    <td>
                        <input type="checkbox" name="ckValue" ng-value="$index" lay-skin="primary" />
                        <div class="layui-unselect layui-form-checkbox" lay-skin="primary">
                            <i class="layui-icon"></i>
                        </div>
                    </td>
                    <td ng-bind="estimateLane.elName"></td>
                    <td ng-bind="estimateLane.elNumber"></td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>